package weifei.live.simulation.im.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.Getter;
import org.springframework.stereotype.Repository;


@Data
@EqualsAndHashCode(callSuper = true)
@TableName("live_stream_bullet_sensitive_word")
@Repository
public class LiveStreamBulletSensitiveWord extends Model<LiveStreamBulletSensitiveWord>
{
    @Getter
    public enum Column
    {
        ID("id"),
        Word("word");
        final String name;
        Column(String name) { this.name = name; }
    }

    @TableId
    private Integer id;
    private String word;

    public LiveStreamBulletSensitiveWord() {}
    public LiveStreamBulletSensitiveWord(int id) { this.id = id; }
}





